FernleafSystems\Wordpress\Plugin\Shield\Modules\LoginGuard\Lib\TwoFactor\Provider\Email S

Total Complexity 33
Dependencies 11
Dependents 7
Total lines 181
Lines of code 151
Logical lines of code 46
Comment lines 5
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
sendEmailTwoFactorVerify()
S
45 5 45
processOtp()
S
62 4 11
getFormField()
S
55 2 19
ProviderEnabled()
S
72 3 5
hasValidatedProfile()
S
72 3 5
isProviderAvailableToUser()
S
74 3 4
maybeMigrate()
S
66 2 9
isEnforced()
S
74 2 4
isProviderEnabled()
S
74 2 4
getUserProfileFormRenderData()
S
60 1 14
getJavascriptVars()
S
66 1 10
postSuccessActions()
S
76 1 4
toggleEmail2FA()
S
79 1 3
generate2faCode()
S
67 1 7
ProviderName()
S
80 1 3
removeFromProfile()
S
77 1 4